BUILD: Clone the Linux tree if it wasn't found via $(LINUX_SRC_PATH)
authorIan Campbell <ian.campbell@xensource.com>
Tue, 5 Jun 2007 07:57:53 +0000 (08:57 +0100)
committerIan Campbell <ian.campbell@xensource.com>
Tue, 5 Jun 2007 07:57:53 +0000 (08:57 +0100)
commitfbc9cef80bf95ab3e0197affed5b30215bef353a
tree02ba4292dc6344d313dad095e6af5b10a76a67c9
parentd1895441b3bad78953fda5481c23d711cdbaee84
BUILD: Clone the Linux tree if it wasn't found via $(LINUX_SRC_PATH)
even if it happens to be a local directory.

If we located the Linux tree by deriving the path from "hg path
default" and it is a local path then prepend "file://" to prevent us
trying to symlink it.

Unfortunately mercurial doesn't understand file:// URLs so we have to
strip it off again before calling hg clone.

Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
buildconfigs/select-repository
buildconfigs/src.hg-clone